<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK C++ API Reference: SDK/all/include/JCCallCallback.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK C++ API Reference
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ca6309d378ceffb9970caf11a0592736.html">SDK</a></li><li class="navelem"><a class="el" href="dir_df301a42bdb8674e37034074c8aa490e.html">all</a></li><li class="navelem"><a class="el" href="dir_2a90b483303ce0af7319f0f0fd0c54ed.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">JCCallCallback.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &quot;JCCallItem.h&quot;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="class_j_c_call_callback.html">   12</a></span>&#160;<span class="keyword">class </span>JCSDK_API <a class="code" href="class_j_c_call_callback.html">JCCallCallback</a> {</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_j_c_call_callback.html#a2188f777767ca071c145d4a50687ce63">   21</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_j_c_call_callback.html#a2188f777767ca071c145d4a50687ce63">onCallItemAdd</a>(<a class="code" href="class_j_c_call_item.html">JCCallItem</a>* item) = 0;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_j_c_call_callback.html#a8fb115155d6bc25139a165310069f92b">   31</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_j_c_call_callback.html#a8fb115155d6bc25139a165310069f92b">onCallItemRemove</a>(<a class="code" href="class_j_c_call_item.html">JCCallItem</a>* item, <a class="code" href="group___xE4_xB8_x80_xE5_xAF_xB9_xE4_xB8_x80_xE9_x80_x9A_xE8_xAF_x9D_xE6_xA8_xA1_xE5_x9D_x97.html#gae957ca110a61bcd44a7fd33cda162887">JCCallReason</a> reason, <span class="keyword">const</span> <span class="keywordtype">char</span>* description) = 0;</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_j_c_call_callback.html#a1ba1c4f09c1f573d9fe2acb5057d6c18">   40</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_j_c_call_callback.html#a1ba1c4f09c1f573d9fe2acb5057d6c18">onCallItemUpdate</a>(<a class="code" href="class_j_c_call_item.html">JCCallItem</a>* item, <a class="code" href="class_j_c_call_item_change_param.html">JCCallItemChangeParam</a> changeParam) = 0;</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="class_j_c_call_callback.html#afb8281abd54bc8c18b77aadfe234a882">   48</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_j_c_call_callback.html#afb8281abd54bc8c18b77aadfe234a882">onMessageReceive</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* type, <span class="keyword">const</span> <span class="keywordtype">char</span>* content, <a class="code" href="class_j_c_call_item.html">JCCallItem</a>* item) = 0;</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="class_j_c_call_callback.html#a6e46494780a74ede3c32eac1a64c0190">   61</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_j_c_call_callback.html#a6e46494780a74ede3c32eac1a64c0190">onMissedCallItem</a>(<a class="code" href="class_j_c_call_item.html">JCCallItem</a>* item) = 0;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="class_j_c_call_callback.html#ac2bb26f070f0235e19ea4671abe83df4">   68</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_j_c_call_callback.html#ac2bb26f070f0235e19ea4671abe83df4">onDtmfReceived</a>(<a class="code" href="class_j_c_call_item.html">JCCallItem</a>* item, <a class="code" href="group___xE4_xB8_x80_xE5_xAF_xB9_xE4_xB8_x80_xE9_x80_x9A_xE8_xAF_x9D_xE6_xA8_xA1_xE5_x9D_x97.html#ga78f6d8931af25ea4302fcee98ae292d7">JCCallDtmfValue</a> value) = 0;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;};</div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclass_j_c_call_callback_html_a8fb115155d6bc25139a165310069f92b"><div class="ttname"><a href="class_j_c_call_callback.html#a8fb115155d6bc25139a165310069f92b">JCCallCallback::onCallItemRemove</a></div><div class="ttdeci">virtual void onCallItemRemove(JCCallItem *item, JCCallReason reason, const char *description)=0</div></div>
<div class="ttc" id="aclass_j_c_call_callback_html_a2188f777767ca071c145d4a50687ce63"><div class="ttname"><a href="class_j_c_call_callback.html#a2188f777767ca071c145d4a50687ce63">JCCallCallback::onCallItemAdd</a></div><div class="ttdeci">virtual void onCallItemAdd(JCCallItem *item)=0</div></div>
<div class="ttc" id="agroup___xE4_xB8_x80_xE5_xAF_xB9_xE4_xB8_x80_xE9_x80_x9A_xE8_xAF_x9D_xE6_xA8_xA1_xE5_x9D_x97_html_gae957ca110a61bcd44a7fd33cda162887"><div class="ttname"><a href="group___xE4_xB8_x80_xE5_xAF_xB9_xE4_xB8_x80_xE9_x80_x9A_xE8_xAF_x9D_xE6_xA8_xA1_xE5_x9D_x97.html#gae957ca110a61bcd44a7fd33cda162887">JCCallReason</a></div><div class="ttdeci">JCCallReason</div><div class="ttdef"><b>Definition:</b> JCCallConstants.h:28</div></div>
<div class="ttc" id="aclass_j_c_call_item_html"><div class="ttname"><a href="class_j_c_call_item.html">JCCallItem</a></div><div class="ttdef"><b>Definition:</b> JCCallItem.h:98</div></div>
<div class="ttc" id="aclass_j_c_call_callback_html_ac2bb26f070f0235e19ea4671abe83df4"><div class="ttname"><a href="class_j_c_call_callback.html#ac2bb26f070f0235e19ea4671abe83df4">JCCallCallback::onDtmfReceived</a></div><div class="ttdeci">virtual void onDtmfReceived(JCCallItem *item, JCCallDtmfValue value)=0</div></div>
<div class="ttc" id="aclass_j_c_call_callback_html_a6e46494780a74ede3c32eac1a64c0190"><div class="ttname"><a href="class_j_c_call_callback.html#a6e46494780a74ede3c32eac1a64c0190">JCCallCallback::onMissedCallItem</a></div><div class="ttdeci">virtual void onMissedCallItem(JCCallItem *item)=0</div></div>
<div class="ttc" id="aclass_j_c_call_callback_html"><div class="ttname"><a href="class_j_c_call_callback.html">JCCallCallback</a></div><div class="ttdef"><b>Definition:</b> JCCallCallback.h:12</div></div>
<div class="ttc" id="aclass_j_c_call_callback_html_a1ba1c4f09c1f573d9fe2acb5057d6c18"><div class="ttname"><a href="class_j_c_call_callback.html#a1ba1c4f09c1f573d9fe2acb5057d6c18">JCCallCallback::onCallItemUpdate</a></div><div class="ttdeci">virtual void onCallItemUpdate(JCCallItem *item, JCCallItemChangeParam changeParam)=0</div></div>
<div class="ttc" id="agroup___xE4_xB8_x80_xE5_xAF_xB9_xE4_xB8_x80_xE9_x80_x9A_xE8_xAF_x9D_xE6_xA8_xA1_xE5_x9D_x97_html_ga78f6d8931af25ea4302fcee98ae292d7"><div class="ttname"><a href="group___xE4_xB8_x80_xE5_xAF_xB9_xE4_xB8_x80_xE9_x80_x9A_xE8_xAF_x9D_xE6_xA8_xA1_xE5_x9D_x97.html#ga78f6d8931af25ea4302fcee98ae292d7">JCCallDtmfValue</a></div><div class="ttdeci">JCCallDtmfValue</div><div class="ttdef"><b>Definition:</b> JCCallConstants.h:170</div></div>
<div class="ttc" id="aclass_j_c_call_callback_html_afb8281abd54bc8c18b77aadfe234a882"><div class="ttname"><a href="class_j_c_call_callback.html#afb8281abd54bc8c18b77aadfe234a882">JCCallCallback::onMessageReceive</a></div><div class="ttdeci">virtual void onMessageReceive(const char *type, const char *content, JCCallItem *item)=0</div></div>
<div class="ttc" id="aclass_j_c_call_item_change_param_html"><div class="ttname"><a href="class_j_c_call_item_change_param.html">JCCallItemChangeParam</a></div><div class="ttdef"><b>Definition:</b> JCCallItem.h:13</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
